package com.mlnx.ecg.ui.config;

import com.mlnx.ecg.ui.analysis.filter.ECG_HIGHPASS_FILTER;
import com.mlnx.ecg.ui.analysis.filter.ECG_LOWPASS_FILTER;
import com.mlnx.ecg.ui.analysis.filter.ECG_STOP_FILTER;

public enum ECGRunMode {

    STANDARD_MODE(0, "标准监护", ECG_HIGHPASS_FILTER.ECG_HIGHPASS_FILTER_05HZ,
            ECG_LOWPASS_FILTER.ECG_LOWPASS_FILTER_150HZ,
            ECG_STOP_FILTER.ECG_STOP_FILTER_50), DIAGNOSIS_MODE(1, "诊断监护",
            ECG_HIGHPASS_FILTER.ECG_HIGHPASS_FILTER_002HZ,
            ECG_LOWPASS_FILTER.ECG_LOWPASS_FILTER_150HZ,
            ECG_STOP_FILTER.ECG_STOP_FILTER_50), SPORT_MODE(2, "运动监护",
            ECG_HIGHPASS_FILTER.ECG_HIGHPASS_FILTER_05HZ,
            ECG_LOWPASS_FILTER.ECG_LOWPASS_FILTER_25HZ,
            ECG_STOP_FILTER.ECG_STOP_FILTER_50);

    private Integer index;

    private String modeName;

    private ECG_HIGHPASS_FILTER highPassFilter;

    private ECG_LOWPASS_FILTER lowPassFilter;

    private ECG_STOP_FILTER stopFilter;

    private ECGRunMode(Integer index, String modeName,
                       ECG_HIGHPASS_FILTER highPassFilter,
                       ECG_LOWPASS_FILTER lowPassFilter, ECG_STOP_FILTER stopFilter) {
        this.index = index;
        this.modeName = modeName;
        this.highPassFilter = highPassFilter;
        this.lowPassFilter = lowPassFilter;
        this.stopFilter = stopFilter;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getModeName() {
        return modeName;
    }

    public void setModeName(String modeName) {
        this.modeName = modeName;
    }

    public ECG_HIGHPASS_FILTER getHighPassFilter() {
        return highPassFilter;
    }

    public void setHighPassFilter(ECG_HIGHPASS_FILTER highPassFilter) {
        this.highPassFilter = highPassFilter;
    }

    public ECG_LOWPASS_FILTER getLowPassFilter() {
        return lowPassFilter;
    }

    public void setLowPassFilter(ECG_LOWPASS_FILTER lowPassFilter) {
        this.lowPassFilter = lowPassFilter;
    }

    public ECG_STOP_FILTER getStopFilter() {
        return stopFilter;
    }

    public void setStopFilter(ECG_STOP_FILTER stopFilter) {
        this.stopFilter = stopFilter;
    }

}
